how to handle a numberformatexception with gson